from autogen import AssistantAgent

assistant = AssistantAgent(
    name="Assistant",
    llm_config={"model": "deepseek-chat", "api_key": "sk-01e121d62aee4f9a9711a5a779c732bf",
                "base_url": "https://api.deepseek.com"}
)

reply = assistant.generate_reply("请给我写一个快速排序的Python代码")
assistant.generate_reply([{"u"}])
print(reply)
